package cn.fl.system.service;

import java.util.List;
import java.util.Map;

import cmm.comm.facade.bank.condition.CmmBankNoQC;
import cmm.mid.core.framework.page.KeyValueVO;
import cmm.mid.core.framework.page.Pager;
import cmm.user.facade.system.condition.SysEmpBankAccQueryCondition;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.custpay.condition.CmmBankNoQueryCondition;
import cn.fl.custpay.vo.CmmQcbankDetVO;
import cn.fl.custpay.vo.CmmRealAuthVO;
import cn.fl.system.vo.CmmSignedBankVO;
import cn.fl.system.vo.SysEmpBankAccVO;

/**
 * @Description: 员工银行账户信息表 客户端服务层接口
 * @Description: 持久层方法名称前缀：新增：insert* 删除：delete* 修改：update* 批量：batch* 查询对象：select* get* find* 查询集合：select*
 * @Description: 业务层方法名称前缀：新增：add* 删除：remove* 修改：modify* 查询对象：select* get* 批量：batch* 查询集合：search*
 */
public interface ISysEmpBankAccService {
	
	/**
	 * 获取唯一对象
	 * @param id 主键
	 * @return 对象DTO
	 */
	public SysEmpBankAccVO selectById(Long id)throws BaseException;
	
	/**
	 * 新增
	 * @param entity
	 * @return
	 */
    public Long add(SysEmpBankAccVO entity) throws BaseException;

    /**
     * 删除
     * @param id
     * @return
     */
    public boolean removeById(Long id)throws BaseException;
    
    /**
     * 删除
     * @param ids
     * @return
     */
    public boolean removeByIds(List<Long> ids)throws BaseException;

    /**
     * 修改
     * @param entity
     * @return
     */
    public boolean modify(SysEmpBankAccVO entity)throws BaseException;

    /**
     * 分页查询所有
     * @param page
     * @return
     */
    public Pager searchListPage(Pager page)throws BaseException;

	/**
	 * @return
	 */
	public List<SysEmpBankAccVO> searchList(SysEmpBankAccQueryCondition condition)throws BaseException;
	
	/**
	 * 加入通过用户userid查询数据
	 * @param condition
	 * @return
	 * @throws BaseException
	 */
	public List<SysEmpBankAccVO> selectEmpBankList(SysEmpBankAccQueryCondition condition)throws BaseException;

	public List<KeyValueVO> searchBankNmList() throws BaseException;
	public Map<String, String> searchGroupToMap(String sysCd, String orgCd, String codeGrpCd) throws BaseException;

	public Long getFun(String funNm) throws BaseException;

	public Long addCmmRealAuth(CmmRealAuthVO entity) throws BaseException;

	public List<SysEmpBankAccVO> searchEmpBankList(SysEmpBankAccQueryCondition condition) throws BaseException;

	public String qcBankNo(CmmBankNoQC condition) throws BaseException;

	public Long addCmmSignedBank(CmmSignedBankVO entity) throws BaseException;
	
	public Map<String, String> getBankNameMap() throws BaseException;
	
	public List<String> qctwobank(CmmBankNoQC condition) throws BaseException;
	
	public Long addCmmQcbankDet(CmmQcbankDetVO entity) throws BaseException;
	
	public List<String> qcThreebank(CmmBankNoQC condition) throws BaseException;
}
